﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001089 RID: 4233
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueVirtualItem : IMessage<RogueVirtualItem>, IMessage, IEquatable<RogueVirtualItem>, IDeepCloneable<RogueVirtualItem>, IBufferMessage
	{
		// Token: 0x1700355B RID: 13659
		// (get) Token: 0x0600BCE7 RID: 48359 RVA: 0x001FD02D File Offset: 0x001FB22D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueVirtualItem> Parser
		{
			get
			{
				return RogueVirtualItem._parser;
			}
		}

		// Token: 0x1700355C RID: 13660
		// (get) Token: 0x0600BCE8 RID: 48360 RVA: 0x001FD034 File Offset: 0x001FB234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueVirtualItemReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700355D RID: 13661
		// (get) Token: 0x0600BCE9 RID: 48361 RVA: 0x001FD046 File Offset: 0x001FB246
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueVirtualItem.Descriptor;
			}
		}

		// Token: 0x0600BCEA RID: 48362 RVA: 0x001FD04D File Offset: 0x001FB24D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueVirtualItem()
		{
		}

		// Token: 0x0600BCEB RID: 48363 RVA: 0x001FD058 File Offset: 0x001FB258
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueVirtualItem(RogueVirtualItem other) : this()
		{
			this.bNPOBEBNLJM_ = other.bNPOBEBNLJM_;
			this.lEGLHJAFLHG_ = other.lEGLHJAFLHG_;
			this.rogueMoney_ = other.rogueMoney_;
			this.fFAACFIPNPH_ = other.fFAACFIPNPH_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BCEC RID: 48364 RVA: 0x001FD0AC File Offset: 0x001FB2AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueVirtualItem Clone()
		{
			return new RogueVirtualItem(this);
		}

		// Token: 0x1700355E RID: 13662
		// (get) Token: 0x0600BCED RID: 48365 RVA: 0x001FD0B4 File Offset: 0x001FB2B4
		// (set) Token: 0x0600BCEE RID: 48366 RVA: 0x001FD0BC File Offset: 0x001FB2BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BNPOBEBNLJM
		{
			get
			{
				return this.bNPOBEBNLJM_;
			}
			set
			{
				this.bNPOBEBNLJM_ = value;
			}
		}

		// Token: 0x1700355F RID: 13663
		// (get) Token: 0x0600BCEF RID: 48367 RVA: 0x001FD0C5 File Offset: 0x001FB2C5
		// (set) Token: 0x0600BCF0 RID: 48368 RVA: 0x001FD0CD File Offset: 0x001FB2CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LEGLHJAFLHG
		{
			get
			{
				return this.lEGLHJAFLHG_;
			}
			set
			{
				this.lEGLHJAFLHG_ = value;
			}
		}

		// Token: 0x17003560 RID: 13664
		// (get) Token: 0x0600BCF1 RID: 48369 RVA: 0x001FD0D6 File Offset: 0x001FB2D6
		// (set) Token: 0x0600BCF2 RID: 48370 RVA: 0x001FD0DE File Offset: 0x001FB2DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RogueMoney
		{
			get
			{
				return this.rogueMoney_;
			}
			set
			{
				this.rogueMoney_ = value;
			}
		}

		// Token: 0x17003561 RID: 13665
		// (get) Token: 0x0600BCF3 RID: 48371 RVA: 0x001FD0E7 File Offset: 0x001FB2E7
		// (set) Token: 0x0600BCF4 RID: 48372 RVA: 0x001FD0EF File Offset: 0x001FB2EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FFAACFIPNPH
		{
			get
			{
				return this.fFAACFIPNPH_;
			}
			set
			{
				this.fFAACFIPNPH_ = value;
			}
		}

		// Token: 0x0600BCF5 RID: 48373 RVA: 0x001FD0F8 File Offset: 0x001FB2F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueVirtualItem);
		}

		// Token: 0x0600BCF6 RID: 48374 RVA: 0x001FD108 File Offset: 0x001FB308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueVirtualItem other)
		{
			return other != null && (other == this || (this.BNPOBEBNLJM == other.BNPOBEBNLJM && this.LEGLHJAFLHG == other.LEGLHJAFLHG && this.RogueMoney == other.RogueMoney && this.FFAACFIPNPH == other.FFAACFIPNPH && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BCF7 RID: 48375 RVA: 0x001FD174 File Offset: 0x001FB374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BNPOBEBNLJM != 0U)
			{
				num ^= this.BNPOBEBNLJM.GetHashCode();
			}
			if (this.LEGLHJAFLHG != 0U)
			{
				num ^= this.LEGLHJAFLHG.GetHashCode();
			}
			if (this.RogueMoney != 0U)
			{
				num ^= this.RogueMoney.GetHashCode();
			}
			if (this.FFAACFIPNPH != 0U)
			{
				num ^= this.FFAACFIPNPH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BCF8 RID: 48376 RVA: 0x001FD1FE File Offset: 0x001FB3FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BCF9 RID: 48377 RVA: 0x001FD206 File Offset: 0x001FB406
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BCFA RID: 48378 RVA: 0x001FD210 File Offset: 0x001FB410
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RogueMoney != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.RogueMoney);
			}
			if (this.LEGLHJAFLHG != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.LEGLHJAFLHG);
			}
			if (this.FFAACFIPNPH != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.FFAACFIPNPH);
			}
			if (this.BNPOBEBNLJM != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.BNPOBEBNLJM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BCFB RID: 48379 RVA: 0x001FD2A4 File Offset: 0x001FB4A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BNPOBEBNLJM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BNPOBEBNLJM);
			}
			if (this.LEGLHJAFLHG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LEGLHJAFLHG);
			}
			if (this.RogueMoney != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RogueMoney);
			}
			if (this.FFAACFIPNPH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FFAACFIPNPH);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BCFC RID: 48380 RVA: 0x001FD32C File Offset: 0x001FB52C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueVirtualItem other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BNPOBEBNLJM != 0U)
			{
				this.BNPOBEBNLJM = other.BNPOBEBNLJM;
			}
			if (other.LEGLHJAFLHG != 0U)
			{
				this.LEGLHJAFLHG = other.LEGLHJAFLHG;
			}
			if (other.RogueMoney != 0U)
			{
				this.RogueMoney = other.RogueMoney;
			}
			if (other.FFAACFIPNPH != 0U)
			{
				this.FFAACFIPNPH = other.FFAACFIPNPH;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BCFD RID: 48381 RVA: 0x001FD3A4 File Offset: 0x001FB5A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BCFE RID: 48382 RVA: 0x001FD3B0 File Offset: 0x001FB5B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 24U)
					{
						this.RogueMoney = input.ReadUInt32();
						continue;
					}
					if (num == 56U)
					{
						this.LEGLHJAFLHG = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.FFAACFIPNPH = input.ReadUInt32();
						continue;
					}
					if (num == 96U)
					{
						this.BNPOBEBNLJM = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004C10 RID: 19472
		private static readonly MessageParser<RogueVirtualItem> _parser = new MessageParser<RogueVirtualItem>(() => new RogueVirtualItem());

		// Token: 0x04004C11 RID: 19473
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004C12 RID: 19474
		public const int BNPOBEBNLJMFieldNumber = 12;

		// Token: 0x04004C13 RID: 19475
		private uint bNPOBEBNLJM_;

		// Token: 0x04004C14 RID: 19476
		public const int LEGLHJAFLHGFieldNumber = 7;

		// Token: 0x04004C15 RID: 19477
		private uint lEGLHJAFLHG_;

		// Token: 0x04004C16 RID: 19478
		public const int RogueMoneyFieldNumber = 3;

		// Token: 0x04004C17 RID: 19479
		private uint rogueMoney_;

		// Token: 0x04004C18 RID: 19480
		public const int FFAACFIPNPHFieldNumber = 8;

		// Token: 0x04004C19 RID: 19481
		private uint fFAACFIPNPH_;
	}
}
